package com.lj.mcore.service;

import com.lj.mcore.entity.GoodsType;
import com.lj.mcore.utils.PageBean;

import java.util.List;
import java.util.Map;

public interface IGoodsTypeservice {


    public abstract boolean save(GoodsType obj);

    public abstract boolean delete(Long id);

    public abstract boolean update(GoodsType obj);

    public abstract GoodsType getObjById(Long id);

    public abstract GoodsType getSingleResult(Map<String,Object> map);

    public abstract List<GoodsType> query(String paramString, Map paramMap, int paramInt1, int paramInt2);

    public PageBean getList(int pageSize, int page, Map<String, String> query);

}
